-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add dependency to gflags and related tests #845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The current problem is that the building of glog errors:
The problem is that the symbol
The root of the reason is that the BUILD file in gflags repo uses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
#include <sys/time.h> | ||
#include <unistd.h> | ||
#include <mutex> | ||
#include "hl_cuda.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文件目前还有点问题,参考这个PR #873
所以,麻烦把这个文件revert吧。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我一revert就过不了pre-commit check了。
这里把 #include "hl_cuda.h" 这行挪一下位置应该不会影响编译才对?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不影响编译,影响了clang-format的自动化format。。
因为似乎clang-format 4.X 和3.8+在这个细节上有区别。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
要不先等#873 merge就好了。。手动把这段format关掉就行了。。
或者在您这个PR里面手动关掉。我把我那个PR close掉也行
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
* Add ce test for ptq
Fixes #822